package On_class.L0312;

public class Test {
    public static void main(String[] args){
        Animal a1=new Cat();
        Animal a2=new Dog();
        a1.eat();
        a2.eat();

    }
}
